Skip to content

vl53l1x: Remove camelCase references from configuration comments.#137

Merged
nedseb merged 1 commit intomainfrom
fix/vl53l1x-snake-case
Mar 15, 2026
Merged

vl53l1x: Remove camelCase references from configuration comments.#137
nedseb merged 1 commit intomainfrom
fix/vl53l1x-snake-case

Conversation

@nedseb
Copy link
Copy Markdown
Contributor

@nedseb nedseb commented Mar 15, 2026

Closes #132

Summary

Clean up camelCase references in the ST ULD configuration blob comments. The code methods were already snake_case, but the comments still referenced the original ST API names (SetInterruptPolarity(), CheckForDataReady(), SetSigmaThreshold(), SetROI(), ClearInterrupt(), StartRanging(), etc.).

No functional change — comments only.

Test plan

python3 -m pytest tests/ -k "vl53l1x and mock" -v  # 5 passed

@nedseb nedseb force-pushed the fix/vl53l1x-snake-case branch from d0dabe3 to 5cbfcba Compare March 15, 2026 06:50
@nedseb nedseb requested a review from Copilot March 15, 2026 06:50
@nedseb nedseb self-assigned this Mar 15, 2026
@nedseb nedseb added the enhancement New feature or request label Mar 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Comment-only cleanup removing camelCase ST API references from the VL53L1X configuration blob comments, with no functional code changes.

Changes:

  • Removed camelCase ST API function references (e.g., SetInterruptPolarity(), ClearInterrupt()) from inline comments
  • Simplified verbose comments to be more concise
  • Removed a stale commented-out lightsleep line and cleaned up a nearby comment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nedseb nedseb merged commit 4d672c4 into main Mar 15, 2026
7 checks passed
@nedseb nedseb deleted the fix/vl53l1x-snake-case branch March 15, 2026 14:31
@semantic-release-updater
Copy link
Copy Markdown

🎉 This PR is included in version 0.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vl53l1x: Migrate camelCase I2C helpers to snake_case.

2 participants